# Torwatch

A simple utility to watch videos torified, always indirectly via Invidious, and with limited resolution/audio-only. Provoked by complexities of life and the need for simpler interfaces. Written in Rust as an exercise, otherwise could be a shell or Python script. **RAW** but working.

**Requires** `mpv`, `torsocks` and a running `tor` daemon.

### Install:

If you want to try it out, currently you can use `cargo`.

* `cargo install --git https://notabug.org/Houkime/torwatch`
* If not already, add cargo bin folder to your `$PATH`. On linux, it is `~/.cargo/bin/`.
* You can add it permanently by `echo 'export PATH=$HOME/.cargo/bin/:$PATH' >> ~/.bashrc` and restarting your terminal.

### Usage: 

```
    torwatch [FLAGS] <url>

FLAGS:
        --audio      Audio-only mode (minimal bandwidth)
    -h, --help       Prints help information
        --720        Pick a higher resolution (default is 480p to not strain the network)
    -V, --version    Prints version information

ARGS:
    <url>    Url to watch. Can be Youtube or Invidious
```
